package cn.edu.jxust.common.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author QiuKangming
 * @version 1.0
 * @description 查询 Air 前端视图类
 * @since 2020/07/17 12:02
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AirSearchVo {

    @NotNull(message = "监测设备id号不能为空")
    private Integer deviceId;

    @NotBlank(message = "查询 aqi 起始时间不能为空")
    private String beginDate;

    @NotBlank(message = "查询 aqi 结束时间不能为空")
    private String endDate;

}
